import { ref, onBeforeUnmount } from 'vue'

function useFont() {
	const fontStatus = ref(false)
	const font_title = ref(32)
	const font_cons = ref(36)
	
	const setupFontFun = (data) => {
		font_title.value = data
		font_cons.value = parseInt(data) - 2
	}
	
	return { fontStatus, font_title, font_cons, setupFontFun }
}

export default useFont